package com.study.创造型模式.建造者模式.改进;

public class Client {

    public static void main(String[] args) {

        //盖普通房子
        CommonHouse commonHouse = new CommonHouse();
        //准备创建房子的指挥者
        HouseDirector houseDirector = new HouseDirector(commonHouse);
        //完成盖房子，返回产品
        House house = houseDirector.constructHouse();
        String basic = house.getBasic();
        System.out.println(basic);

    }
}
